package cn.kgc.mapper;


import cn.kgc.entity.DataDictionary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author YC
 */
@Mapper
public interface DataDictionaryMapper extends BaseMapper<DataDictionary> {

    /**
     * 根据数据字典的key查询数据字典
     *
     * @param itemKeys 数据字典的key
     * @return 数据字典的集合
     */
    List<DataDictionary> selectDataDictionaryByItemKey(List<String> itemKeys);

}
